﻿using System;
using System.Collections.Generic;
using System.Text;
using Cashier_DAO.db;
using System.Data.Common;

namespace Cashier_Service
{
    public class DatabaseService
    {
        public void Backup()
        {
            try
            {
                using (DbConnection conn = ConnectionFactory.GetDbConnection())
                {
                    conn.Open();
                    
                }
            }
            catch(Exception ex)
            {
                throw ex;
            }
        }
    }
}
